package com.lc.service.impl;

import com.lc.bean.Userinfo;
import com.lc.dao.UserinfoDao;
import com.lc.dao.impl.UserinfoDaoImpl;
import com.lc.service.UserinfoService;

import java.util.List;

/**
 * @description:
 * @author: ManolinCoder
 * @time: 2021/8/20
 */
public class UserinfoServiceImpl implements UserinfoService {
    private UserinfoDao userinfoDao = new UserinfoDaoImpl();
    @Override
    public List<Userinfo> getUserinfoByUname(String uname) {
        return userinfoDao.selectByUname(uname);
    }
}
